package com.yyjj.hangqing;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.yyjj.hangqing.fragment.CacheBiFragment;
import com.yyjj.hangqing.fragment.CoinListFragment;
import com.yyjj.hangqing.fragment.HQFragment;
import com.yyjj.hangqing.fragment.HqRiseFragment;

import tech.com.commoncore.basecomponent.service.IBiService;
import tech.com.commoncore.basecomponent.service.IFragmentService;

/**
 * Anthor:NiceWind
 * Time:2019/3/25
 * Desc:The ladder is real, only the climb is all.
 */
public class HangqingService implements IBiService {


    @Override
    public Fragment getHqFragment(Bundle args) {
        return HQFragment.newInstance(args);
    }

    @Override
    public Fragment getJysFragment(String name) {
        return HqRiseFragment.newInstance();
//        return CoinListFragment.newInstance(name);
    }

    @Override
    public Fragment getCacheCoinFragment() {
        return CacheBiFragment.newInstance();
    }
}
